package com.hu.zhcc.shiro.service;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.hu.zhcc.shiro.dao.Tj_TBodyTypeMapper;
import com.hu.zhcc.shiro.entity.tj.TBodyTest;
import com.hu.zhcc.shiro.entity.tj.TBodyType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 体质类型表 服务实现类
 * </p>
 *
 * @author tj
 * @since 2021-06-18
 */
@Service
public class Tj_TBodyTypeServiceImpl extends ServiceImpl<Tj_TBodyTypeMapper, TBodyType> implements Tj_TBodyTypeService {
    @Autowired
    private Tj_TBodyTypeMapper tj_tBodyTypeMapper;
    @Override
    public List<TBodyType> queryType() {
        return tj_tBodyTypeMapper.queryType();
    }

    @Override
    public int addType(TBodyType tBodyType) {
        return tj_tBodyTypeMapper.addType(tBodyType);
    }

    @Override
    public TBodyType queryById(int id) {
        return tj_tBodyTypeMapper.queryById(id);
    }

    @Override
    public int delType(Integer id,String createtime) {
        return tj_tBodyTypeMapper.delType(id, createtime);
    }
}
